package com.service;

import com.common.paging.PagingData;
import com.entity.StudentInfo;
import com.entity.Teacherinfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/2/13 0013.
 */
public interface ManageService {

    PagingData findAdvicesList(Integer page, Integer length);

    int setAdvices(Integer id);

    List<Teacherinfo> findTeacherList(Integer page, Integer length, String search);

    int findCount(String search);

    PagingData findUserTypeList(Integer page, Integer length, String search);

    List<StudentInfo> houduanMyRelease(Integer userId);

    PagingData findCertificationList(Integer page, Integer length, String search, Integer type);

    int setCertification(Integer id, Integer type,Integer pid);

    PagingData findUserBillList(Integer page, Integer length, String search);

    PagingData findTeacherValueList(Integer page, Integer length, String search);

    int setTeacherValue(Integer value,Integer id);

    PagingData findRewardList(Integer page,Integer length,String search);

    PagingData findShareList(Integer page,Integer length,String search);

    Map findUserType();

    PagingData findMidwayRefund(Integer page,Integer length,String search);

    PagingData findRefundRecordList(Integer page,Integer length,String search);

    PagingData findTransactionList(Integer page,Integer length,String search);

    PagingData findTeacherMoneyList(Integer page,Integer length,String search);

    int resetTeacherMoney(Integer userId,BigDecimal lyMoney);

    int deleteRefundRecord(Integer id);

    List findStatistics();

    int missOrder(String studentPhone,String teacherPhone,String transactionId,String outTradeNo,Integer classTime,BigDecimal totalPrice,BigDecimal price);

}
